package cn.wolfcode.luowowo.common.query;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Administrator on 2019/7/8.
 */
@Setter
@Getter
public class QueryObject implements Serializable{
    protected int currentPage=1;
    protected int pageSize=10;
    private String keyword;
    public String getKeyword() {
        if (keyword==null || "".equals(keyword.trim())){
            return null;
        }
        return keyword;
    }
}
